﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfDemo.Models.Sys;

namespace WpfDemo.Common
{
    public class Utils
    {
        /// <summary>
        /// 当前用户
        /// </summary>
        public static UserEntity CurrentUser { get; set; }

        /// <summary>
        /// 是否管理员
        /// </summary>
        public static bool IsAdmin{get; set; }

        /// <summary>
        /// 当前登陆用户权限
        /// </summary>
        public static List<AuthEntity> Auths { get; set; }
    }
}
